<template>
  <div class="audio-button" @click="handleClick">
    <slot />
  </div>
</template>

<script lang="ts">
import { Component, Prop, Vue } from "vue-property-decorator";

@Component
export default class AudioButton extends Vue {
  private handleClick() {
    this.$emit("customClick");
  }
}
</script>

<style lang="scss" scoped>
.audio-button {
  display: inline-block;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  border: 2px solid white;
  box-shadow: 0px 0px 2px darkgray;
  background-color: rgba(0, 0, 0, 0.05);
  &:active {
    background-color: rgba(0, 0, 0, 0.35);
  }
}
</style>
